Bullet screen information processing method and system, and computer storage medium

ABSTRACT

Disclosed is a bullet screen information processing method and system, and computer storage medium. User information is acquired; when output of video data is detected, friendship chain data are acquired based on the user information, the friendship chain data including other user information associated with the user information; input information for the video data is filtered based on the friendship chain data to obtain first input information associated with the other user information from a friendship chain; and the first input information and the video data are controlled to be output.

CROSS-REFERENCE TO RELATED APPLICATIONS

This is a continuation application of International Patent ApplicationNo. PCT/CN2016/080886, filed on May 3, 2016, which claims priority toPatent Application No. 201510347600.X, filed before Chinese PatentOffice on Jun. 19, 2015 and entitled “bullet screen informationprocessing method and system, and computer storage medium”, the entirecontents of which are incorporated herein by reference.

BACKGROUND

In order to make a user who watches a video able to interact with otherpeople watching the same video, a video bullet screen technologyemerges. Video bullet screens refer to comments directly displayed on avideo. The user may watch the video while synchronously making bulletscreen comments. The bullet screen comments will be displayed on a videopicture in a sliding subtitle form. Thus, when watching the video, theuser may view bullet screen comments from other people, or may makehis/her own bullet screen comments to be viewed by other people, so asto form an instant interaction experience, thereby increasing the videowatching pleasure.

The inventor of the present application found at least the followingtechnical problems in the related art in a process of implementing thetechnical solutions in the embodiments of the present application.

In the prior art, all bullet screen comments for a certain video will bedisplayed on a video screen. When a great number of users make bulletscreen comments at the same time, a great number of comments will emergeon the video screen at the same time, thereby seriously blocking thevideo screen per se and influencing the video watching experience. Inaddition, the interaction mode based on bullet screen comments ismonotonous. For example, a user who sees a bullet screen comment doesnot know who made the bullet screen comment. For another example, a usercannot reply to a certain bullet screen comment. However, no effectivesolution has been proposed yet at present for the aforementioned problemin the related art.

SUMMARY

The disclosure relates to an information processing technology, and inparticular to a bullet screen information processing method and system,and a computer storage medium.

In the embodiments of the disclosure, it is intended to provide a bulletscreen information processing method and system, and a computer storagemedium, capable of improving the video watching experience of a user andpreventing a video screen from being blocked by a great number ofcomments.

According to an embodiment of the disclosure, a bullet screeninformation processing method is provided, in which user information isacquired; friendship chain data are acquired based on the userinformation, the friendship chain data including other user informationassociated with the user information; input information for video datais filtered based on the friendship chain data to obtain first inputinformation associated with the other user information from a friendshipchain; and the first input information and the video data are controlledto be output.

According to another embodiment of the disclosure, a bullet screeninformation processing system is provided, which may include: a userinformation module, a bullet screen information module and a videoinformation module, wherein the user information module is configured toacquire user information; the bullet screen information module isconfigured to acquire friendship chain data based on the userinformation acquired by the user information module, the friendshipchain data including other user information associated with the userinformation, and filter input information for video data based on thefriendship chain data to obtain first input information associated withthe other user information from a friendship chain; and the videoinformation module is configured to control the first input informationobtained by the bullet screen information module and the video data tobe output.

According to yet another embodiment of the disclosure, a computerstorage medium is provided, in which computer-executable instructionsare stored, for executing the bullet screen information processingmethod in the embodiments of the disclosure.

According to the bullet screen information processing method and systemand the computer storage medium provided in the embodiments of thedisclosure, user information is acquired; friendship chain data areacquired based on the user information, the friendship chain dataincluding other user information associated with the user information;input information for video data is filtered based on the friendshipchain data to obtain first input information associated with the otheruser information from a friendship chain; and the first inputinformation and the video data are controlled to be output. Thus,according to the embodiments of the disclosure, all pieces of bulletscreen comment information are filtered based on a friendship of a user,and bullet screen comment information made by other users having afriendship with the user is selected and displayed. On one hand, thenumber of pieces of bullet screen comment information is decreased, anda video screen is prevented from being greatly blocked to influence thevideo watching experience of the user. On the other hand, styles forinteraction based on bullet screen comments are enriched, real-timeinteraction of users based on bullet screen comments during videowatching is implemented, and the pleasure of the users for videowatching is increased.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flowchart of a bullet screen information processing methodaccording to an embodiment of the disclosure;

FIG. 2 is a schematic view showing input information according to anembodiment of the disclosure;

FIG. 3 is a flowchart of a bullet screen information processing methodaccording to an embodiment of the disclosure;

FIG. 4 is a schematic view of an application of an embodiment of thedisclosure;

FIG. 5 is a first structure diagram of a bullet screen informationprocessing system according to an embodiment of the disclosure;

FIG. 6 is a second structure diagram of the bullet screen informationprocessing system according to an embodiment of the disclosure;

FIG. 7 is a flowchart of a user login method in a bullet screeninformation processing method according to an embodiment of thedisclosure;

FIG. 8 is a flowchart of requesting of video playing in a bullet screeninformation processing method according to an embodiment of thedisclosure;

FIG. 9 is a flowchart of an input information write operation in abullet screen information processing method according to an embodimentof the disclosure;

FIG. 10 is a flowchart of an input information read operation in abullet screen information processing method according to an embodimentof the disclosure; and

FIG. 11 is a hardware structure diagram of a bullet screen informationprocessing system according to an embodiment of the disclosure.

DETAILED DESCRIPTION

The disclosure will be further illustrated hereinbelow in conjunctionwith the drawings and specific embodiments in detail.

An embodiment of the disclosure provides a bullet screen informationprocessing method. FIG. 1 is a flowchart of a bullet screen informationprocessing method according to an embodiment of the disclosure. As shownin FIG. 1, the bullet screen information processing method includes thefollowing steps.

In Step 101, user information is acquired.

The bullet screen information processing method in the embodiment of thedisclosure is applied to a bullet screen information processing system.The user information is acquired in the present step. That is, thebullet screen information processing system acquires the userinformation. The bullet screen information processing system is arrangedin a server or server cluster from which video data originates. If thevideo data originates from a server or server cluster with which aQQLive client is associated, the bullet screen information processingsystem is arranged in the server or server cluster with which the QQLiveclient is associated. The bullet screen information processing systemmay also be arranged in a webpage server or server cluster. If a useropens the video data via a QQ browser, the bullet screen informationprocessing system may be arranged in a webpage server or server clusterwith which the QQ browser is associated.

In the present step, the user information is personal information of theuser, specifically including an identity code (ID) of the user, personaldata of the user and the like. The user information may be obtainedafter completing login and authentication processes of the user.Specifically, the user inputs login information such as a user name anda password. The bullet screen information processing systemauthenticates the login information of the user based on the user nameand the password. After authentication is passed, the bullet screeninformation processing system returns the ID of the user, and obtainsthe personal information of the user from a database based on the ID ofthe user.

As an implementation, the personal information of the user(specifically, the ID of the user) is associated with a communicationapplication user identity of the user, e.g., a QQ number, a WeChataccount and a phone number. The ID of the user in the presentimplementation may specifically be a communication application identitysuch as a QQ number, a WeChat account or a phone number.

In Step 102, friendship chain data are acquired based on the userinformation, the friendship chain data including other user informationassociated with the user information.

In the present embodiment, friendship chain data of the user includingother user information associated with the user information arepre-stored in the bullet screen information processing system. It may beunderstood that the friendship chain data of the user are personalinformation of other users associated with the user. The friendshipchain data are personal information of other users having a friendshipwith the user (or following each other) specifically. The personalinformation of the other users specifically includes IDs of the otherusers. The IDs of the other users may be communication application useridentities of the other users such as QQ numbers, WeChat accounts andphone numbers of the other users.

In Step 103, input information for video data is filtered based on thefriendship chain data to obtain first input information associated withthe other user information from a friendship chain.

In the present embodiment, before the bullet screen informationprocessing system executes Step 101 to Step 104, or executes Step 103 offiltering input information for video data based on the friendship chaindata, the method further includes: obtaining input information; andallocating an index identifier for the input information, establishing amapping relationship between the index identifier and the userinformation, and establishing a mapping relationship between the indexidentifier and the video data.

Specifically, the input information is comment information input insynchronization with the video data, that is, bullet screen information.FIG. 2 is a schematic view (a simplified screen shot) showing inputinformation according to an embodiment of the disclosure. As shown inFIG. 2, when a user watches a video, the user may interact with otherusers by inputting comment information, and the comment information mayquickly drift across the video, namely bullet screen information.

The input information is input information input by all users viewingthe video data within a current preset time period, or input informationever input by users who have viewed the video data. When the bulletscreen information processing system receives input information input byany user for a certain piece of video data, an index identifier isallocated for the input information, and a mapping relationship betweenthe index identifier and the user information is established. Aplurality of pieces of input information may be received for the videodata, each piece of input information being allocated with a respectiveindex identifier. Therefore, an index identifier list is established foreach piece of video data, an index identifier of newly received inputinformation is inserted into the index identifier list, that is, amapping relationship between the index identifier and the video data isestablished.

In the present step, the step that input information for video data isfiltered based on the friendship chain data to obtain first inputinformation associated with the other user information from a friendshipchain includes that: other user information associated with the userinformation is obtained from the friendship chain data; and the inputinformation is filtered based on the other user information to obtainfirst input information associated with the other user information.

The step that the input information is filtered based on the other userinformation to obtain first input information associated with the otheruser information includes that: a pre-configured mapping relationshipbetween an index identifier and user information is searched based onthe other user information to obtain at least one index identifiermatched with the other user information, the at least one indexidentifier generating a first index identifier set; the first indexidentifier set is matched with a pre-configured index identifier set ofinput information for the video data, to obtain a successfully-matchedsecond index identifier set, index identifiers in the second indexidentifier set satisfying the first index identifier set and the secondindex identifier set simultaneously; and input information matched withthe index identifiers in the second index identifier set is obtained toserve as the first input information.

Specifically, the bullet screen information processing system obtainsother user information associated (or having a friendship) with the userfrom the friendship chain data of the user, that is, IDs of the otherusers (specifically, QQ numbers, WeChat accounts and phone numbers ofthe other users) are obtained, and the input information is filteredbased on the IDs of the other users. In the present embodiment, thebullet screen information processing system stores an index identifierlist of the video data, the index identifier list including indexidentifiers of a plurality of pieces of input information for the videodata; the bullet screen information processing system further stores amapping relationship between index identifiers of input information anduser information; after obtaining the IDs of the other users, the bulletscreen information processing system queries the stored mappingrelationship between index identifiers and user information based on theIDs of the other users to obtain index identifiers matched with the IDsof the other users so as to generate a first index identifier set, thatis, index identifiers of input information (bullet screen information)input by the other users are obtained; further, the index identifiers inthe first index identifier set are matched with index identifiers in thestored index identifier list of the video data to obtainsuccessfully-matched index identifiers so as to generate a second indexidentifier set, that is, index identifiers of input information (bulletscreen information) input by the other users for the video data areobtained; and finally, the bullet screen information processing systemsearches the stored input information for first input information basedon the index identifiers in the second index identifier set, indexidentifiers of the first input information being matched with the indexidentifiers in the second index identifier set, there is at least onepiece of the first input information.

In Step 104, the first input information and the video data arecontrolled to be output.

Here, the step that the first input information and the video data arecontrolled to be output includes that: the first input information isinserted into frame data corresponding to the video data to generate newvideo data; and the new video data are controlled to be output.

Specifically, the bullet screen information processing system stores anindex identifier list of the video data, the index identifier listincluding index identifiers of a plurality of pieces of inputinformation for the video data and specifically including indexidentifiers of input information corresponding to a frame data range ofthe video data. For example, if an index identifier of input informationcorresponding to frame number 1 to frame number 10 is a, it may beunderstood that bullet screen information corresponding to the indexidentifier a is slidably input and displayed in a first frame to a tenthframe of the video data.

By means of the technical solution in the embodiment of the disclosure,all pieces of bullet screen comment information are filtered based on afriendship of a user, and bullet screen comment information made byother users having a friendship with the user is selected and displayed.On one hand, the number of pieces of bullet screen comment informationis decreased, and a video screen is avoided from being greatly blockedto influence the video watching experience of the user.

Based on the bullet screen information processing method as describedabove, an embodiment of the disclosure also provides a bullet screeninformation processing method. FIG. 3 is a flowchart of a bullet screeninformation processing method according to an embodiment of thedisclosure. As shown in FIG. 3, after Step 104 as described above, themethod further includes the following steps.

In Step 105, an input request for the first input information isdetected. Here, the first input information may be understood as bulletscreen information output in synchronization with video data. In thepresent embodiment, when controlling the first input information and thevideo data to be output synchronously, the bullet screen informationprocessing system adds an input interface for the first inputinformation. Based on the input interface, the first input informationsupports an input response to the first input information.

Specifically, FIG. 4 is a schematic view of an application of anembodiment of the disclosure. When the first input information and thevideo data are output synchronously, a user who desires to reply to acertain piece of bullet screen information in a video data viewingprocess may directly click the bullet screen information. As shown inFIG. 4, when the user desires to reply to bullet screen information froma user ID ‘Bb’, the user clicks the bullet screen information from theuser ID ‘Bb’. At this time, the bullet screen information processingsystem receives an input request for the bullet screen information.

In Step 106, output display of an input area is controlled based on theinput request, the input area being associated with the first inputinformation.

Here, when the bullet screen information processing system receives theinput request for the first input information, an input area isgenerated for the input request, and the input area may be specificallyshown as an input box in FIG. 4. In practical application, the inputarea may suspend over a video screen; and the user may input contents tobe replied in the input area. The input area corresponds to first inputinformation (i.e., bullet screen information) to be replied, and thusthe input area may pre-display the user ID corresponding to the inputinformation to be replied, as shown in FIG. 4.

In Step 107, second input information is obtained via the input area,the second input information being associated with the first inputinformation.

In the present embodiment, the user inputs contents to be replied in theinput area, and then sends the input contents to the bullet screeninformation processing system after the input is completed. It may beunderstood that the user inputs information into the input box as shownin FIG. 4, clicks a ‘send’ key or an ‘enter’ key after completion, thatis, sends the input information to the bullet screen informationprocessing system, and the input information obtained by the bulletscreen information processing system is the second input information inthe present step. Further, the second input information includes anidentifier of the first input information, and the identifier of thefirst input information may specifically be user information of thefirst input information, such as the user ID.

As another implementation, after the second input information isobtained, the method further includes that: the second input informationand the video data are controlled to be output.

Specifically, as the second input information is the contents replied bythe user to the first input information, after obtaining the secondinput information, the bullet screen information processing system addsthe user ID of the first input information associated with the secondinput information to the second input information, and then outputs thesecond input information in synchronization with the video data, so thatwhen watching a video, the user can visually see that second bulletscreen information is information replied to first bullet screeninformation.

By means of the technical solution in the embodiment of the disclosure,all pieces of bullet screen comment information are filtered based on afriendship of a user, and bullet screen comment information made byother users having a friendship with the user is selected and displayed.On one hand, the number of pieces of bullet screen comment informationis decreased, and a video screen is avoided from being greatly blockedto influence the video watching experience of the user. On the otherhand, the styles of interaction based on bullet screen comments areenriched, real-time interaction of users based on bullet screen commentsduring video watching is implemented, and the pleasure of the users forvideo watching is increased.

An embodiment of the disclosure provides a bullet screen informationprocessing system. FIG. 5 is a first structure diagram of a bulletscreen information processing system according to an embodiment of thedisclosure. The system includes: a user information module 51, a bulletscreen information module 52 and a video information module 53.

The user information module 51 is configured to acquire userinformation.

The bullet screen information module 52 is configured to acquirefriendship chain data based on the user information acquired by the userinformation module, the friendship chain data including other userinformation associated with the user information, and filter inputinformation for video data based on the friendship chain data to obtainfirst input information associated with the other user information froma friendship chain.

The video information module 53 is configured to control the first inputinformation obtained by the bullet screen information module 52 and thevideo data to be output.

Here, the user information is personal information of a user,specifically including an identity code (ID) of the user, personal dataof the user and the like. The user information may be obtained aftercompleting login and authentication processes of the user via the userinformation module 51. Specifically, the user inputs login informationsuch as a user name and a password. The user information module 51authenticates the login information of the user based on the user nameand the password. After authentication is passed, the user informationmodule 51 returns the ID of the user, and obtains the personalinformation of the user from a database based on the ID of the user.

As an implementation, the personal information of the user(specifically, the ID of the user) is associated with a communicationapplication user identity of the user, e.g., a QQ number, a WeChataccount and a phone number. The ID of the user in the presentimplementation may specifically be a communication application identitysuch as a QQ number, a WeChat account or a phone number.

In the present embodiment, friendship chain data of the user arepre-stored in the bullet screen information processing system, and thefriendship chain data may be stored in the user information module 51.The friendship chain data of the user include other user informationassociated with the user information. It may be understood that thefriendship chain data of the user are personal information of otherusers associated with the user. The friendship chain data are personalinformation of other users having a friendship with the user (orfollowing each other) specifically. The personal information of theother users specifically includes IDs of the other users. The IDs of theother users may be communication application user identities of theother users such as QQ numbers, WeChat accounts and phone numbers of theother users.

As an implementation, the bullet screen information module 52 isconfigured to obtain, before filtering the input information for thevideo data based on the friendship chain data, input information, andfurther configured to allocate an index identifier for the inputinformation, establish a mapping relationship between the indexidentifier and the user information, and establish a mappingrelationship between the index identifier and the video data.

Specifically, the input information is comment information input insynchronization with the video data, that is, bullet screen information.As shown in FIG. 2, when a user watches a video, the user may interactwith other users by inputting comment information, and the commentinformation may quickly drift across the video, namely bullet screeninformation.

The input information is input information input by all users viewingthe video data within a current preset time period, or input informationever input by users who have viewed the video data. When the bulletscreen information module 52 receives input information input by anyuser for a piece of certain video data, an index identifier is allocatedfor the input information, and a mapping relationship between the indexidentifier and the user information is established. The bullet screeninformation module 52 may receive a plurality of pieces of inputinformation for the video data, each piece of input information beingallocated with a respective index identifier. Therefore, an indexidentifier list is established for each piece of video data, an indexidentifier of newly received input information is inserted into theindex identifier list, that is, a mapping relationship between the indexidentifier and the video data is established.

As an implementation, the bullet screen information module 52 isconfigured to obtain other user information associated with the userinformation from the friendship chain data, and filter the inputinformation based on the other user information to obtain first inputinformation associated with the other user information.

The bullet screen information module 52 is configured to: search apre-configured mapping relationship between an index identifier and userinformation based on the other user information to obtain at least oneindex identifier matched with the other user information, the at leastone index identifier generating a first index identifier set; match thefirst index identifier set with a pre-configured index identifier set ofinput information for the video data, to obtain a successfully-matchedsecond index identifier set, index identifiers in the second indexidentifier set satisfying the first index identifier set and the secondindex identifier set simultaneously; and obtain input informationmatched with the index identifiers in the second index identifier set toserve as the first input information.

Specifically, the bullet screen information module 52 obtains other userinformation associated (or having a friendship) with the user from thefriendship chain data of the user, that is, IDs of the other users(specifically, QQ numbers, WeChat accounts and phone numbers of theother users) are obtained, and the input information is filtered basedon the IDs of the other users. In the present embodiment, the bulletscreen information module 52 stores an index identifier list of thevideo data, the index identifier list including index identifiers of aplurality of pieces of input information for the video data; the bulletscreen information module 52 further stores a mapping relationshipbetween index identifiers of input information and user information;after obtaining the IDs of the other users, the bullet screeninformation module 52 queries the stored mapping relationship betweenindex identifiers and user information based on the IDs of the otherusers to obtain index identifiers matched with the IDs of the otherusers so as to generate a first index identifier set, that is, indexidentifiers of input information (bullet screen information) input bythe other users are obtained; further, the index identifiers in thefirst index identifier set are matched with index identifiers in thestored index identifier list of the video data to obtainsuccessfully-matched index identifiers so as to generate a second indexidentifier set, that is, index identifiers of input information (bulletscreen information) input by the other users for the video data areobtained; and finally, the bullet screen information module 52 searchesthe stored input information for first input information based on theindex identifiers in the second index identifier set, index identifiersof the first input information being matched with the index identifiersin the second index identifier set, there is at least one piece of thefirst input information.

Those skilled in the art shall understand that functions of allprocessing modules in the bullet screen information processing systemaccording to the embodiment of the disclosure may be understood withreference to relevant description of the aforementioned bullet screeninformation processing method. All processing modules in the bulletscreen information processing system according to the embodiment of thedisclosure may be implemented via an analogue circuit for achieving thefunctions according to the embodiment of the disclosure, or may beimplemented by running software for executing the functions according tothe embodiment of the disclosure on a smart terminal.

Based on the bullet screen information processing system as describedabove, an embodiment of the disclosure also provides a bullet screeninformation processing system. The bullet screen information processingsystem in the present embodiment may be shown in FIG. 5. Based on thetechnical solution of each functional module in the bullet screeninformation processing system as described above, in the presentembodiment, the bullet screen information module 52 is furtherconfigured to: detect an input request for the first input information;control output display of an input area based on the input request, theinput area being associated with the first input information; and obtainsecond input information via the input area, the second inputinformation being associated with the first input information.

Further, the video information module 53 is further configured tocontrol the second input information and the video data to be output.

In the present embodiment, the bullet screen information module 52 addsan input interface to the first input information; and based on theinput interface, the first input information supports an input responseto the first input information. Specifically, when the bullet screeninformation and the video data are output synchronously, a user whodesires to reply to a certain piece of bullet screen information in avideo data viewing process may directly click the bullet screeninformation. As shown in FIG. 4, when the user desires to reply tobullet screen information from a user ID ‘Bb’, the user clicks thebullet screen information from the user ID ‘Bb’. At this time, thebullet screen information module 52 receives an input request for thebullet screen information. When the bullet screen information module 52receives the input request for the first input information, an inputarea is generated for the input request, and the input area may bespecifically shown as an input box in FIG. 4. In practical application,the input area may suspend over a video screen; and the user may inputcontents to be replied in the input area. The input area corresponds tofirst input information (i.e., bullet screen information) to be replied,and thus the input area may pre-display the user ID corresponding to theinput information to be replied, as shown in FIG. 4.

The user inputs contents to be replied in the input area, and then sendsthe input contents to the bullet screen information module 52 afterinput is completed. It may be understood that the user inputsinformation into the input box as shown in FIG. 4, clicks a ‘send’ keyor an ‘enter’ key after completion, that is, sends the input informationto the bullet screen information module 52, and the input informationobtained by the bullet screen information module 52 is the second inputinformation in the present step. Further, the second input informationincludes an identifier of the first input information, and theidentifier of the first input information may specifically, be userinformation of the first input information such as the user ID. Finally,after obtaining the second input information, the bullet screeninformation module 52 adds the user ID of the first input informationassociated with the second input information to the second inputinformation, and the video information module 53 controls the secondinput information to which the user ID of the first input information isadded and the video data to be synchronously output.

Those skilled in the art shall understand that functions of allprocessing modules in the bullet screen information processing systemaccording to the embodiment of the disclosure may be understood withreference to relevant description of the aforementioned bullet screeninformation processing method. All processing modules in the bulletscreen information processing system according to the embodiment of thedisclosure may be implemented via an analogue circuit for achieving thefunctions according to the embodiment of the disclosure, or may beimplemented by running software for executing the functions according tothe embodiment of the disclosure on a smart terminal.

In one or more embodiments of the disclosure, the user informationmodule 51, the bullet screen information module 52 and the videoinformation module 53 of the bullet screen information processing systemmay be implemented by a Central Processing Unit (CPU), a Digital SignalProcessor (DSP) or a Field-Programmable Gate Array (FPGA) in the bulletscreen information processing system in practical application.

The bullet screen information processing system based on the above oneor more embodiments includes a data input function and a data outputfunction, that is, the bullet screen information processing system maybe divided into an input device and an output device. FIG. 6 is a secondstructure diagram of the bullet screen information processing systemaccording to an embodiment of the disclosure. The bullet screeninformation processing system includes functional modules shown in theabove one or more embodiments and FIG. 5, namely a user informationmodule 51, a bullet screen information module 52 and a video informationmodule 53. The user information module 51 is mainly configured tomaintain login information and friendship chain data of a user; thebullet screen information module 52 is mainly configured to logicallyread/write and store bullet screen information (and input information inthe above one or more embodiments); the video information module 53 ismainly configured to manage video information and schedule a videoplaying policy; in the present embodiment, the bullet screen informationprocessing system further includes an input module and an output module;the input module is configured to receive information input by the user,including the input login information and the input bullet screeninformation, and is further configured to receive a request of the user,including a video request, etc.; and the output module is configured tooutput the video data, the bullet screen information, etc.

Specifically, as shown in FIG. 6, the user information module 51includes a user login module 511, a user information storage module 512,a friendship chain data reading module 513 and a friendship chain datastorage module 514. The user login module 511 is configured toauthenticate the login information of the user, return an ID of the userafter login succeeds, and read personal data of the user from the userinformation storage module 512 based on the ID. The friendship chaindata reading module 513 is configured to read friendship chain data ofthe user from the friendship chain data storage module 514 according tothe ID of the user. The user information storage module 512 isconfigured to store the personal data of the user. The friendship chaindata storage module is configured to store a friendship chain of theuser.

The bullet screen information module 52 includes: a bullet screeninformation publishing module 521, a bullet information storage module522, an index list reading module 523 and an index identifier storagemodule 524. The bullet screen information publishing module 521 isconfigured to allocate a unique index identifier (ID) for bullet screeninformation input by a user, establish a mapping relationship betweenthe index

ID and an ID of the user, insert the index ID into an index identifierlist corresponding to video data, and further store the bullet screeninformation corresponding to the index ID into the bullet informationstorage module 522. The index identifier storage module 524 isconfigured to store and update an index identifier list of each piece ofvideo data. The bullet information storage module 522 is configured tostore specific contents of the bullet screen information. The index listreading module 523 is configured to read an index identifier list of avideo ID from the index identifier storage module 524 according to thevideo ID, further filter the index identifier of the bullet screeninformation of the friendship chain data of the user from the indexidentifier list according to the friendship chain data of the user readby the friendship chain data reading module 513, acquire specific bulletscreen information from the bullet information storage module 522according to the acquired index identifier, and send the bullet screeninformation to the video information module 53.

The video information module 53 includes: a video information readingmodule 531, a video information storage module 532, a video playingscheduling module 533 and a video data storage module 534. The videoinformation reading module 531 is configured to acquire relevant videoinformation (including video title, introduction, playing address, etc)from the video information storage module 532 according to the video ID.The video playing scheduling module 533 is configured to select a videosource file having an appropriate definition for the user according to aplaying environment (including: information such as a network bandwidthand player version) of a terminal of the user, and play the video sourcefile. The video information storage module 532 is configured to storeand update basic video information (including: video ID, videointroduction, title, production year, director, actor, video type, etc).The video data storage module 534 is mainly responsible for storing avideo source file encoded to have different code rates.

The bullet screen information processing method in the embodiments ofthe disclosure will be elaborated in detail hereinbelow in conjunctionwith the bullet screen information processing system shown in FIG. 6.

FIG. 7 is a flowchart of a user login method in a bullet screeninformation processing method according to an embodiment of thedisclosure. As shown in FIG. 7, in conjunction with the bullet screeninformation processing system shown in FIG. 6, the method includes thefollowing steps.

In Step 601, a user inputs a login ID and an authentication key of theuser via an input device, and initiates a user authentication request.

In Step 602, the input device sends the login ID and the authenticationkey input by the user to a user login module, and initiates the userauthentication request.

In Step 603, when receiving the user authentication request, the userlogin module executes a login authentication operation according to theID and the authentication key of the user.

In Step 604, when login authentication fails, the user login moduledirectly returns an authentication failure result to an output device,and Step 609 is executed.

In Step 605, when login authentication succeeds, the user login moduleobtains the ID of the user, and requests a user information storagemodule for user information based on the ID of the user.

In Step 606, a user data storage module returns the user information tothe user login module.

In Step 607, the user login module returns a login success result andthe user information to the output device.

In Step 608, the output device records the user information locally.

In Step 609, the output device returns a login result to the user; whenlogin authentication fails, the login authentication failure result isreturned; and when login authentication succeeds, the loginauthentication success result and user data are returned.

FIG. 8 is a flowchart of requesting for playing a video in a bulletscreen information processing method according to an embodiment of thedisclosure. As shown in FIG. 8, in conjunction with the bullet screeninformation processing system shown in FIG. 6, the method includes thefollowing steps.

In Step 701, a user enters a video page. It may be understood asentering a video playing website or opening a video player.

In Step 702, an input device requests a video information reading modulefor video information, including: video list, ID of each video,introduction information of the video, and the like.

In Step 703, the video information reading module initiates a readingrequest for the video information to a video information storage module.

In Step 704, the video information storage module returns correspondingvideo information contents according to the reading request for thevideo information.

In Step 705, the video information reading module returns the videoinformation contents to an output device.

In Step 706, the output device displays received video contents to theuser.

In Step 707, the user selects a video to be played, and clicks it toplay. In other words, a request operation for video data is initiated tothe input device.

In Step 708, the input device initiates a request to a video playingscheduling module according to a click-to-play operation of the user,and uploads request parameters, the request parameters including: videoID, user equipment information, network bandwidth where a user equipmentis located currently, and the like.

In Step 709, the video playing scheduling module selects a video filehaving an appropriate resolution for the user according to the requestparameters, and requests a video file storage module for a correspondingvideo file.

In Step 710, the video storage module returns the video file to thevideo playing scheduling module.

In Step 711, the video playing scheduling module returns the video fileto the output device.

In Step 712, the output device displays a video to the user. In otherwords, the user can normally watch the video. FIG. 9 is a flowchart ofan input information write operation in a bullet screen informationprocessing method according to an embodiment of the disclosure. As shownin FIG. 9, in conjunction with the bullet screen information processingsystem shown in FIG. 6, the method includes the following steps.

In Step 801, a user inputs bullet screen information via an inputdevice.

In Step 802, the input device initiates a write request for the bulletscreen information to a bullet screen information publishing module,request parameters carried in the write request for the bullet screeninformation including: a currently played video ID, an ID of a user, aframe number of a currently played video frame, bullet screeninformation contents and the like.

In Step 803, after receiving the write request for the bullet screeninformation, the bullet screen information publishing module allocatesan index ID for the bullet screen information.

In Step 804, the bullet screen information publishing module initiatesan index identifier write request to an index identifier storage module,request parameters carried in the index identifier write requestincluding: an index ID, an ID of a user, a video ID, a video framenumber and the like.

In Step 805, the bullet screen information publishing module initiates awrite request for the bullet screen information to a bullet screeninformation storage module, request parameters carried in the writerequest for the bullet screen information including: an index ID andbullet screen information contents.

In Step 806, after completely processing the index identifier writerequest, the index identifier storage module returns a processing resultto the bullet screen information publishing module.

In Step 807, after completely processing the write request for thebullet screen information, the bullet screen information storage modulereturns a processing result to the bullet screen information publishingmodule.

In Step 808, after receiving the request processing results returned bythe index identifier storage module and the bullet screen informationstorage module, the bullet screen information publishing module returnsa write result about the bullet screen information to an output deviceaccording to the returned processing results.

In Step 809, the output device displays the write result about thebullet screen information to the user.

FIG. 10 is a flowchart of an input information read operation in abullet screen information processing method according to an embodimentof the disclosure. As shown in FIG. 10, in conjunction with the bulletscreen information processing system shown in FIG. 6, the methodincludes the following steps.

In Step 901, a user executes a video playing operation via an inputdevice.

In Step 902, when a video starts to be played, an input module acquiresan ID of a user stored locally, a video ID and a frame number range of acurrently played video (e.g., a second video segment of a video having alength of 30s is played currently), and initiates a bullet screeninformation list reading request to an index list reading module.

In Step 903, after receiving the bullet screen information list readingrequest, the index list reading module requests a friendship chain datareading module for friendship chain data of a corresponding useraccording to the ID of the user.

In Step 904, after receiving the request for the friendship chain dataof the user, the friendship chain data reading module extractsfriendship chain data matched with the ID of the user from a friendshipchain data storage module.

In Step 905, the friendship chain data storage module returns thefriendship chain data matched with the ID of the user.

In Step 906, the friendship chain data reading module returns thefriendship chain data matched with the ID of the user to the index listreading module.

In Step 907, after obtaining the friendship chain data of the user, theindex list reading module extracts an index ID list of bullet screeninformation within a corresponding frame number range from an indexidentifier storage module according to a current video ID and an ID(e.g., a QQ number and WeChat account of a friend) of each friend in thefriendship chain data.

In Step 908, the index identifier storage module selects a bullet screenindex identifier list meeting demands according to the video ID, the IDof the friend, and the frame number range.

In Step 909, the index identifier storage module returns the generatedbullet screen index identifier list to the index list reading module.

In Step 910, after obtaining the bullet screen index identifier list,the index list reading module requests a bullet screen informationstorage module for bullet screen information contents satisfying thebullet screen index identifier list.

In Step 911, the bullet screen information storage module returns thebullet screen information contents.

In Step 912, the index list reading module returns the bullet screeninformation contents to an output module.

In Step 913, the output module displays the bullet screen informationcontents to the user.

FIG. 11 is a hardware structure diagram of a bullet screen informationprocessing system according to an embodiment of the disclosure. Anexample of the bullet screen information processing system serving as ahardware entity is shown in FIG. 11. The bullet screen informationprocessing system includes a processor 1002, a storage medium 1004 andat least one external communication interface 1001. The processor 1002,the storage medium 1004 and the external communication interface 1001are connected via a bus 1003.

Here, it is to be noted that: the above description related to thesystem is similar to the above description related to the method andhave the same beneficial effects, which will not be elaborated.Technical details undisclosed in the embodiments for the bullet screeninformation processing system according to the disclosure are subject tothe descriptions for the method embodiment of the disclosure.

In some embodiments provided by the disclosure, it should be understoodthat the disclosed equipment and method may be implemented in anothermanner. The equipment embodiment described above is only schematic, andfor example, division of the units is only logic function division, andother division manners may be adopted during practical implementation.For example, multiple units or components may be combined or integratedinto another system, or some characteristics may be neglected or notexecuted. In addition, coupling or direct coupling or communicationconnection between each displayed or discussed component may be indirectcoupling or communication connection, implemented through someinterfaces, of the equipment or the units, and may be electrical andmechanical or adopt other forms.

The abovementioned functional units described as separate parts may ormay not be physically separated, and parts displayed as units may or maynot be physical units, and namely may be located in the same place, ormay also be distributed to multiple network units. Part or all of theunits may be selected to achieve the purpose of the solutions of theembodiment according to a practical requirement.

In addition, each function unit in each embodiment of the disclosure maybe integrated into a processing unit, each unit may also existindependently, and two or more than two units may also be integratedinto a unit. The abovementioned integrated unit may be implemented in ahardware form, and may also be implemented in form of hardware andsoftware function unit.

Those skilled in the art should know that: all or part of the steps ofthe abovementioned method embodiment may be implemented by instructingrelated hardware through a program, the abovementioned program may bestored in a computer-readable storage medium, and the program isexecuted to execute the steps of the abovementioned method embodiment;and the abovementioned storage medium includes: various media capable ofstoring program codes such as mobile storage equipment, a Read-OnlyMemory (ROM), a Random Access Memory (RAM), a magnetic disk or anoptical disk.

Or, when being implemented in form of software function module and soldor used as an independent product, the integrated unit of the disclosuremay also be stored in a computer-readable storage medium. Based on suchan understanding, the technical solutions of the embodiment of thedisclosure substantially or parts making contributions to theconventional art may be embodied in form of software product, and thecomputer software product is stored in a storage medium, including aplurality of instructions configured to enable a piece of computerequipment (which may be a personal computer, a server, network equipmentor the like) to execute all or part of the method in each embodiment ofthe disclosure. The abovementioned storage medium includes: variousmedia capable of storing program codes such as mobile storage equipment,an ROM, a magnetic disk or an optical disk.

The above is only the specific implementations of the disclosure and notintended to limit the scope of protection of the disclosure, and anyvariations or replacements apparent to those skilled in the art withinthe technical scope disclosed by the disclosure shall fall within thescope of protection of the disclosure. Therefore, the scope ofprotection of the disclosure shall be subject to the scope of protectionof the claims.

According to the embodiments of the disclosure, all pieces of bulletscreen comment information are filtered based on a friendship of a user,and bullet screen comment information made by other users having afriendship with the user is selected and displayed. On one hand, thenumber of pieces of bullet screen comment information is decreased, anda video screen is prevented from being greatly blocked to influence thevideo watching experience of the user. On the other hand, styles forinteraction based on bullet screen comments are enriched, real-timeinteraction of users based on bullet screen comments during videowatching is implemented, and the pleasure of the users for videowatching is increased.

What is claimed is:
 1. A bullet screen information processing method,executed by one or more servers, the method comprising: acquiring firstuser information; acquiring friendship chain data based on the firstuser information, the friendship chain data comprising second userinformation associated with the first user information; filtering inputinformation for video data based on the friendship chain data, to obtainfirst input information associated with the second user information inthe friendship chain data; and controlling the first input informationand the video data to be output.
 2. The method according to claim 1,wherein before filtering the input information for the video data basedon the friendship chain data, the method further comprises: obtainingthe input information, wherein the input information comprises at leastone piece of input information; and for each piece of the inputinformation, allocating an index identifier, establishing a mappingrelationship between the index identifier and user informationassociated with the piece of the input information, and establishing amapping relationship between the index identifier and the video data. 3.The method according to claim 1, wherein filtering input information forvideo data based on the friendship chain data to obtain first inputinformation associated with the second user information in thefriendship chain data comprises: obtaining second user informationassociated with the first user information from the friendship chaindata; and filtering the input information based on the second userinformation to obtain first input information associated with the seconduser information.
 4. The method according to claim 3, wherein filteringthe input information based on the second user information to obtainfirst input information associated with the second user informationcomprises: searching, based on the second user information,pre-configured mapping relationships between index identifiers and userinformation for at least one index identifier matched with the seconduser information, the at least one index identifier forming a firstindex identifier set; matching the first index identifier set with apre-configured index identifier set of input information for the videodata, to obtain a successfully-matched second index identifier set,index identifiers in the second index identifier set satisfying thefirst index identifier set and the second index identifier setsimultaneously; and obtaining input information matched with the indexidentifiers in the second index identifier set to serve as the firstinput information.
 5. The method according to claim 1, wherein after thefirst input information and the video data are output, the methodfurther comprises: detecting an input request for the first inputinformation; controlling output and display of an input area based onthe input request, the input area being associated with the first inputinformation; and obtaining second input information via the input area,the second input information being associated with the first inputinformation.
 6. The method according to claim 5, further comprising:controlling the second input information and the video data to beoutput.
 7. A bullet screen information processing system, comprising: aprocessor; and a memory storing instructions executable by theprocessor; wherein the processor is configured to: acquire first userinformation; acquire friendship chain data based on the first userinformation, the friendship chain data comprising second userinformation associated with the first user information; filter inputinformation for video data based on the friendship chain data, to obtainfirst input information associated with the second user information inthe friendship chain data; and control the first input information andthe video data to be output.
 8. The system according to claim 7, whereinbefore filtering the input information for the video data based on thefriendship chain data, input information, the processor is furtherconfigured to: obtain the input information, wherein the inputinformation comprises at least one piece of input information; and foreach piece of the input information, allocate an index identifier,establish a mapping relationship between the index identifier and userinformation associated with the piece of the input information, andestablish a mapping relationship between the index identifier and thevideo data.
 9. The system according to claim 7, wherein the processor isconfigured to: obtain second user information associated with the firstuser information from the friendship chain data; and filter the inputinformation based on the second user information to obtain first inputinformation associated with the second user information.
 10. The systemaccording to claim 9, wherein the processor is configured to: search,based on the second user information, pre-configured mappingrelationships between index identifiers and user information for atleast one index identifier matched with the second user information, theat least one index identifier forming a first index identifier set;match the first index identifier set with a pre-configured indexidentifier set of input information for the video data, to obtain asuccessfully-matched second index identifier set, index identifiers inthe second index identifier set satisfying the first index identifierset and the second index identifier set simultaneously; and obtain inputinformation matched with the index identifiers in the second indexidentifier set to serve as the first input information.
 11. The systemaccording to claim 7, wherein the processor is further configured to:detect an input request for the first input information; control outputdisplay of an input area based on the input request, the input areabeing associated with the first input information; and obtain secondinput information via the input area, the second input information beingassociated with the first input information.
 12. The system according toclaim 11, wherein the processor is further configured to control thesecond input information and the video data to be output.
 13. Anon-transitory computer storage medium, storing computer-executableinstructions for executing a bullet screen information processingmethod, the method comprising: acquiring first user information;acquiring friendship chain data based on the first user information, thefriendship chain data comprising second user information associated withthe first user information; filtering input information for video databased on the friendship chain data, to obtain first input informationassociated with the second user information in the friendship chaindata; and controlling the first input information and the video data tobe output.
 14. The non-transitory computer storage medium according toclaim 13, wherein before filtering the input information for the videodata based on the friendship chain data, the method further comprises:obtaining the input information, wherein the input information comprisesat least one piece of input information; and for each piece of the inputinformation, allocating an index identifier, establishing a mappingrelationship between the index identifier and user informationassociated with the piece of the input information, and establishing amapping relationship between the index identifier and the video data.15. The non-transitory computer storage medium according to claim 13,wherein filtering input information for video data based on thefriendship chain data to obtain first input information associated withthe second user information in the friendship chain data comprises:obtaining second user information associated with the first userinformation from the friendship chain data; and filtering the inputinformation based on the second user information to obtain first inputinformation associated with the second user information.
 16. Thenon-transitory computer storage medium according to claim 15, whereinfiltering the input information based on the second user information toobtain first input information associated with the second userinformation comprises: searching, based on the second user information,pre-configured mapping relationships between index identifiers and userinformation for at least one index identifier matched with the seconduser information, the at least one index identifier forming a firstindex identifier set; matching the first index identifier set with apre-configured index identifier set of input information for the videodata, to obtain a successfully-matched second index identifier set,index identifiers in the second index identifier set satisfying thefirst index identifier set and the second index identifier setsimultaneously; and obtaining input information matched with the indexidentifiers in the second index identifier set to serve as the firstinput information.
 17. The non-transitory computer storage mediumaccording to claim 13, wherein after the first input information and thevideo data are output, the method further comprises: detecting an inputrequest for the first input information; controlling output and displayof an input area based on the input request, the input area beingassociated with the first input information; and obtaining second inputinformation via the input area, the second input information beingassociated with the first input information.
 18. The non-transitorycomputer storage medium according to claim 17, wherein the methodfurther comprises: controlling the second input information and thevideo data to be output.